/*****************************************************************************************
Arise Engine		ErrorsView.h

					E-mail:		arise_engine@mail.ru

created:			17.03.2007
last changes:		24.04.2007

ErrorsView.h : interface of the ErrorsView class

Project is an MFC application, using the single-document model, split-window style.
Based on EffectEdit Direct3D Sample (c) Microsoft Corporation. All rights reserved.
*****************************************************************************************/
#pragma once


class CAriseEditorDoc;

class ErrorsView : public CFormView
{
protected: // create from serialization only
	ErrorsView();
	DECLARE_DYNCREATE(ErrorsView)
	
	virtual void OnInitialUpdate(); // called first time after construct

// Attributes
public:
	CAriseEditorDoc* GetDocument();

// Operations

	//{{AFX_DATA(CErrorsView)
    enum { IDD = IDD_ERRORS_LISTBOX };
    //}}AFX_DATA

// Overrides
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

// Implementation

	virtual ~ErrorsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

    // Generated message map functions
    //{{AFX_MSG(CErrorsView)
    afx_msg void OnSize(UINT nType, int cx, int cy);
    afx_msg void OnDblclkList();
    //}}AFX_MSG

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG 
inline CAriseEditorDoc* ErrorsView::GetDocument()
   { return reinterpret_cast<CAriseEditorDoc*>(m_pDocument); }
#endif


extern HWND g_hwnd_errors_view;
